<template>
  <div>
    concurrent request
  </div>
</template>

<script>
import { f1, f2, f3, RequestList  } from "@/utils/concurrentRequest.js";
export default {
  data () {
    return {

    }
  },
  components: {

  },
  mounted() {
    // Promise.all([f1(), f2(), f3()]).then(res=>{
    //   console.log('res',res);
    // }).catch(err => {
    //   console.log("🚀 ~ Promise.all ~ err:", err)
    // })

    // Promise.allSettled([f1(), f2(), f3()]).then(res=>{
    //   console.log('res',res);
    // }).catch(err => {
    //   console.log("🚀 ~ Promise.all ~ err:", err)
    // })
  },
  methods: {

  },
  created() {
    console.log('route', this.$route)
    console.log('router', this.$router)
  },
}

</script>
<style scoped lang='less'>
</style>